interface Person1 {
  name: string;
  age: number;
}

const p1: Person1 = {
  name: "jack",
  age: 18,
};

const p2: { name: string; age: number } = {
  name: "jack",
  age: 18,
};

const p3: Person1 = {
  name: "jack",
  age: 18,
};

type Person2 = { name: string; age: number };

const p4: Person2 = {
  name: "jack",
  age: 18,
};

// type str = string;
// const a: str = "hello";

type Arr = number[];
const arr: Arr = [1, 2, 3];
const arr1: Arr = [1, 2, 3];
const arr2: Arr = [1, 2, 3];
